// pages/mehtml/pot/pot.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    /**
     * state为3表示禁用
     * tag为1表示主页中展示
     */
    items: [
      { "value": { "url": "https://lyb-iot-001-1256625471.cos.ap-guangzhou.myqcloud.com/tree/tree1.png" }, "name": "小树苗","tag":"1","key":"123","state":"2"},
      { "value": { "url": "https://lyb-iot-001-1256625471.cos.ap-guangzhou.myqcloud.com/tree/tree2.png" }, "name": "干树","tag":"0","key":"124","state": "2"},
      { "value": { "url": "https://lyb-iot-001-1256625471.cos.ap-guangzhou.myqcloud.com/tree/tree3.png" }, "name": "圣诞树", "tag":"0","key":"125","state":"1"},
      { "value": { "url": "https://lyb-iot-001-1256625471.cos.ap-guangzhou.myqcloud.com/tree/tree4.png" }, "name": "中树", "tag": "0", "key": "123", "state": "2" },
      { "value": { "url": "https://lyb-iot-001-1256625471.cos.ap-guangzhou.myqcloud.com/tree/tree5.png" }, "name": "大树", "tag": "0", "key": "124", "state": "2" },
      { "value": { "url": "https://lyb-iot-001-1256625471.cos.ap-guangzhou.myqcloud.com/tree/tree6.png" }, "name": "小可爱", "tag": "0", "key": "125", "state": "1" }
    ],
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})